
Title: 	 Topolka Dam Effects

Author:  Clayman  <worldofclay@gmx.de>

Version: 1.1

Date:    09-09-2009


******************************


 Description:
Adds water and sound effects aswell as a small river with rapids to the Topolka Dam on Chernarus.


******************************


 Required Addons:

 * Comunity Base Addons
	http://www.armaholic.com/page.php?id=6231


******************************


 Installation:
Copy the 'CLAY_TopolkaDamFX.pbo' to your .\Arma2\Addons folder or a mod folder of your choice.


******************************


 Usage:
The script automaticly checks if the player or a camera object is near the dam. So normally you don't have to do anything.
However, there are several global variables to modify different parameters of the effects.


Open / Close Gates:
To open / close any of the gates at any time in your mission set these global variables to true (open) or false (closed):

	CLAY_TopolkaDam_gate1
	CLAY_TopolkaDam_gate2
	CLAY_TopolkaDam_gate3


Turn Nightlights On / Off:
You can turn the nightlights on / off at any time during your mission by setting this global variable to true (lights on) or false (lights off):

	CLAY_TopolkaDam_lights



Change Color / Brightness of the nightlights:
The nightlight objects can be addressed via

	CLAY_TopolkaDam_light1
	CLAY_TopolkaDam_light2
	CLAY_TopolkaDam_light3

Use these with the 'setLightColor', 'setLightAmbient' and 'setLightBrightness' commands.
e.g.

	CLAY_TopolkaDam_light1 setLightBrightness 0;
	CLAY_TopolkaDam_light2 setLightColor [0,0,1];
	CLAY_TopolkaDam_light3 setLightAmbient [1,0,0];


To check if the script has initialized (for whatever you might need this) check the variable

	CLAY_TopolkaDam_initDone

e.g.

	waitUntil {!(isNil "CLAY_TopolkaDam_initDone")};
	waitUntil {CLAY_TopolkaDam_initDone};
	Hint "WOW! Look at those awesome effects!";


******************************


 Known Bugs:

 * Overlaping water tiles sometimes look weird


******************************


 Disclaimer:
Use this whatsoever at your own risk. I take no responsibility for (im)possible damage 
to your game/system/health/relationship/life that may be caused by installation of this.


******************************


 Change log:

V1.1
 * Fixed placement of some rocks
 * MAP_EU no longer required
 * Self-initialising scripts
 * New sound for main waterfall
 * Main waterfall sound only played when at least one gate is open
 * Added sound to rapids
 * Water on rapids more random (more natural look)
 * Added vertical movement to river to simulate waves
 * Lights have global names to access them in the editor / other scripts
 * Turn lights on / off at any time
 * Lights will be deleted at end of script

V1.0
 * Initial release















[URL="http://www.armaholic.com/page.php?id=7217"]Armaholic Mirror[/URL]
[URL="http://www.armedassault.info/index.php?game=1&cat=addons&id=1057"]ArmedAssault.Info Mirror[/URL]
[URL="http://armed-assault.de/downloads/topolka-dam-and-beyond.html#download"]Armed-Assault.de Mirror[/URL]
[URL="http://arma2base.de/include.php?path=download&contentid=732"]ArmA2Base Mirror[/URL]







[URL="http://www.armaholic.com/page.php?id=7218"]Armaholic Mirror[/URL]
[URL="ftp://ftp.armedassault.info/armad/addons/CLAY_TopolkaDamEffects.Chernarus.rar"]ArmedAssault.Info Mirror[/URL]
[URL="http://arma2base.de/include.php?path=download&contentid=733"]ArmA2Base.de Mirror[/URL]

